package com.xbongbong.pro.businesstage.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.weblist.pojo.dto.SaasBaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @Auther: yingjianfeng
 * @Date: 2021/11/25 09:32
 * @Description:
 */
@Getter
@Setter
@ToString
public class StageFinishWorkDTO extends SaasBaseDTO {
    /**
     * 业务类型
     */
//    @NotNull(message = "{dto.msg.businessData.businessType.NotNull}")
    private Integer businessType;

    /**
     * saas标记
     */
    @NotNull(message = "{dto.msg.businessData.saasMark.NotNull}")
    private Integer saasMark;
    /**
     * 阶段记录id
     */
    @NotNull(message = "stageLogId不能为空")
    private Long stageLogId;
    /**
     * 工作id
     */
    @NotNull(message = "sstageWorkId不能为空")
    private Long stageWorkId;
    /**
     * 任务是否完成（0取消完成、1完成）
     */
    @NotNull(message = "isFinished不能为空")
    private Integer isFinished;
    /**
     * 菜单id
     */
    private Long menuId;
}
